///////////////////////////////////////////////////////////////////////////////
// Company: University of Cincinnati
// Author: Jordan Ross, Ben Gentry, Bryan Butsch
//
// Created Date: 10/08/2013
// Design Name:
// Module Name: seg7_scroll
// Project Name: top_level
// Target Devices: Cyclone II EP2C20F484C7
// Tool Versions: Quartus 13.0
// Description: This module controls displaying 4 data values on the 4 seven
//              segment displays.
// 
// Dependencies: seg7_dec.v
// 
// Revision:
// 0.01 - File Created
//
// Additional Comments:
//
///////////////////////////////////////////////////////////////////////////////
module seg7_scroll(Enable, Data0, Data1, Data2, Data3, Seg0, Seg1, Seg2, Seg3, Resetn);
    parameter n = 7;
    input [8:0] Data0, Data1, Data2, Data3;
    input Enable, Resetn;
    output [n-1:0] Seg0, Seg1, Seg2, Seg3;
    
    // Instantiate the decoders for the seven segment
    seg7_dec sevSeg0(1'b1,Data0,Seg0, Resetn);
    seg7_dec sevSeg1(1'b1,Data1,Seg1, Resetn);
    seg7_dec sevSeg2(1'b1,Data2,Seg2, Resetn);
    seg7_dec sevSeg3(1'b1,Data3,Seg3, Resetn);
    
endmodule
